package cn.chencaiju.day04;

public class Designer extends Employee {
	private double kpi;
	
	public Designer(double kpi) {
		super();
		this.kpi = kpi;
	}
	
	public double getKpi() {
		return kpi;
	}
	public void setKpi(double kpi) {
		this.kpi = kpi;
	}

	public void desing() {
		System.out.println("designer...");
	}

	@Override
	public double getSalary() {
		System.out.print("设计师得工资！");
		return super.getSalary()*(1+kpi);
	}
	
	

}
